<template>
  <div id="app">
    <!-- <div class="title">
      <div class="topfl">
        <img src="./assets/网易云音乐.svg" alt="">
        <span>网易云音乐</span>
      </div>
      <div class="topfr">
        <span>下载APP</span>
      </div>
    </div>
    <nav>
      <router-link to="/">推荐音乐</router-link>
      <router-link to="/about">热歌榜单</router-link>
      <router-link to="/search">搜索</router-link>
    </nav> -->
    <router-view/>
  </div>
</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  display: flex;
  padding: 10px;
  text-align: center;
  justify-content: space-around;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
  text-decoration: none;
}

nav a.router-link-exact-active {
  color: red;
  text-decoration: red;
 
}
.title{
  height: 100px;
  display: flex;
  background-color: rgb(255, 136, 0);
  font-size: 20px;
  margin: 0 0;
  justify-content: space-between;
  align-items: center;
}
.title .topfl{
  display: flex;
   align-items: center;
  height: 22px;
}
.title .topfl img{
  width: 22px;
  height: 22px;
  padding-left: 5px;
}
.title .topfl span{
  padding-left: 10px;
  color: white;
}
.title .topfr{
  display: flex;
  width: 130px;
  height: 50px;
  background-color: white;
  align-items: center;
  justify-content: center;
  border-radius: 37.5%/100%;
  color:  rgb(255, 136, 0);
}
</style>
